let addGoodsAction = (name)=>{
    return {
        type:"ADD_GOODS",
        name:name
    }
}

let removeGoodsAction = (index)=>{
    return {
        type:"REMOVE_GOODS",
        index:index
    }
}

export {
    addGoodsAction,
    removeGoodsAction
}